<script>
	import Vue from 'vue';
	
	export default {
		onLaunch: function() {
			//当前平台
			let provider = "weixin";
			
			//登录抖音 不做处理
			uni.getProvider({
				service: 'oauth',
				success: function(res) {
					provider = res.provider;
					uni.login({
					  provider: provider,
					  success: function (loginRes) {
					  }
					});
				}
			})
			
			
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	@import "colorui/main.css";
	@import "colorui/icon.css";
	
	@font-face {
		font-family:uniicons;
		src: url('/static/uni.ttf');
	}
</style>
